import { useState } from 'react';

type userInfoType = {
  name: string;
};

const userModel = () => {
  const [userInfo, setUserInfo] = useState<userInfoType>();
  return {
    userInfo,
    setUserInfo,
  };
};

export default userModel;
